myDbconfig={
  "host"     : "127.0.0.1",
  "user"     : "root",
  "password" : "123456",
   "port"     : "3306",
   
 "database" : "miapi"
}

Db=M.getMySql(myDbconfig);

app.begin((req,res)=>{
if(req.url.startsWith("/static/")){
    res.renderUrl("http://minglie.gitee.io/ming_api_mock_plugins/ming_mockServer"+req.url)
}
})


async function main(){
f0=await  M.import("http://minglie.gitee.io/ming_api_mock_plugins/ming_mockServer/InterfaceManageService.js")
const interfaceManageService=f0(Db,M)
f1= await  M.import("http://minglie.gitee.io/ming_api_mock_plugins/ming_mockServer/BaseController.js");
f1(M,Db,app)
f2= await  M.import("http://minglie.gitee.io/ming_api_mock_plugins/ming_mockServer/InterfaceManageeController.js");
f2(M,app,Db,interfaceManageService);
}

main()